<!-- Combo-handled YUI CSS files: -->
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.7.0/build/tabview/assets/skins/sam/tabview.css">
<!-- Combo-handled YUI JS files: -->
<script type="text/javascript" src="http://yui.yahooapis.com/combo?2.7.0/build/yahoo-dom-event/yahoo-dom-event.js&2.7.0/build/element/element-min.js&2.7.0/build/tabview/tabview-min.js"></script>

<center>
<table width='90%'><tr><td>
<div id="demo" class="yui-navset">
    <ul class="yui-nav">
        <li class="selected"><a href="#tab1"><em>Project Info</em></a></li>
        <li><a href="#tab2"><em>Timeline</em></a></li>
        <li><a href="#tab3"><em>Contacts</em></a></li>
        <li><a href="#tab4"><em>Files</em></a></li>
        <li><a href="#tab5"><em>Web Docs</em></a></li>
    </ul>
    <div class="yui-content tabs">
        <div id="tab1">
        	<table width='100%'>
        		<tr valign='top'>
        			<td width='50%'>
        				<h1><?php echo $this->project_name;?> (<?php echo $this->status_name;?>) [<a href='/project/edit/project/<?php echo $this->project_id;?>/'>edit</a>]</h1>
			        	<p><?php echo $this->project_desc;?></p>

        			</td>
        			<td>
        				<table width='100%'>
        				<tr><th>Project Team - <a href='/team/add/'>Add Team Member</a></th></tr>
        				<tr><td>
						<b><a href='/user/overview/'><?php echo $this->owner_name;?></a> (Owner)</b>
        				</td></tr>
        				</table>
        			</td>
        		</tr>
        		<tr><td colspan="2"></td></tr>
        		<tr><td colspan="2">
        			<table width='100%'>
        				<tr><th>Project Tasks - <a href='/task/add/project/<?php echo $this->project_id;?>/'>Add Task</a></th></tr>
        				<tr><td><?php echo $this->tasks;?></td></tr>
        			</table>
        		</td></tr>
        	</table>

        </div>
        <div id="tab2"><p><?php echo $this->gantt; ?></p></div>
        <div id="tab3"><p>This will be a list of Contacts</p></div>
        <div id="tab4"><p>This will be a list of files</p></div>
        <div id="tab5"><p>This will be a list of web docs</p></div>
    </div>
</div>
</td></tr></table>
<script type="text/javascript">
    var tabView = new YAHOO.widget.TabView('demo');
    var task = {
	    items: <?php echo $this->tasks;?>
	}
</script>


</center>
<?php echo $this->script;?>